St. Joseph's (Maine) Monks

Schedule

There was a problem with a Velocity script
Page/teams/teaminfo-template
ErrorInvocation of method 'include' in class com.prestosports.render.ContentEngineInvoker threw exception java.lang.RuntimeException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed. at vbij8dg99vkg9q8k/teams/teaminfo-template[line 28, column 26]
Page source:
1: #if ($website.redesign)
2: ## NEW SITE 2017
3: 
4: ## USING INFO PAGE TO SET CONF AND TEAM
5: #set($team = $!attributes.get("school_name"))
6: #set($nickname = $!attributes.get("nickname"))
7: #set ($conf = $!attributes.get("conference"))
8: #set($logo = $!attributes.get("logo"))
9: #set($gender = ${tool.list.get($page.url.split("/"),3)})
10: #if($gender == "Men")#set($genderTitle = "Men's")#elseif($gender == "Women")#set($genderTitle = "Women's")#end
11: #set($year = ${tool.list.get($page.url.split("/"),4)})
12: 
13: $!request.setAttribute("pageClass", "landing team-home")
14: $!request.setAttribute("showBookmark", false)
15: 
16: ## PAGE TITLE
17: <h2 class="page-title">$!team $!nickname</h2>
18: 
19: ## MORE HEADLINES & ADS
20: <div class="content-row content-row1">
21:     <div class="container clearfix">
22:         
23:         ## SCHEDULE
24:         <div class="content-col content-col1">
25:             
26:             <section class="section-schedule">
27:                 <h2 class="section-header">Schedule</h2>
28:                 $website.include("scs-tabs?tmpl=j-tabs-template&id=scs-tabs")
29:             </section>
30:             
31:         </div>
32:         
33:         ## AD & JOB
34:         <div class="content-col content-col2">
35:             
36:             ## BANNER 300X250
37:             <section class="section-past-records">
38:                 <h3 class="section-header">Past Records</h3>            
39:                 <div class="past-records-wrapper">$website.include("season-nav?class=past-records")</div>
40:                 $website.include("banner-300-250")
41:             </section>
42: 
43:             ## TEAM INFO
44:             <section class="section-team-info">
45:                 <h3 class="section-header">Team Info</h3>            
46:                 $website.includeAgain("info?tmpl=team-info-template")
47:             </section>
48:             
49:             ## JOB
50:             <section class="section-news-releases">
51:                 <h3 class="section-header">News Releases</h3> 
52:                 $website.include("news?tmpl=top-stories-template&id=news-list&showThumb=false")
53:             </section>
54:             
55:         </div>        
56:         
57:     </div>
58: </div>
59: 
60: 
61: $wiki
62: 
63: #else
64: ## LIVE SITE
65: 
66: 
67: $!request.setAttribute("showBookmark", false)
68: $!request.setAttribute("pageClass", "landing-page team-page")
69: 
70: ## USING INFO PAGE TO SET CONF AND TEAM
71: #set($team = $!attributes.get("school_name"))
72: #set($nickname = $!attributes.get("nickname"))
73: #set ($conf = $!attributes.get("conference"))
74: #set($logo = $!attributes.get("logo"))
75: #set($year = ${tool.list.get($page.url.split("/"),3)})
76: 
77: ## MOBILE 
78: #if ($browser.getIphone() || $browser.getMobile())
79: 	#set ($includeURL = "/conf/$conf/$gender/$year/schedule?team=$tool.esc.url($team)&tmpl=mobile-schedule-template&$!request.getQueryString()")  ##for schedules
80:    $website.includeAgain($includeURL)
81:    #stop
82: #else
83: 
84: 
85: <h2 class="section-title">$!team $!nickname</h2>
86: 
87: <div id="top-row" class="clearfix">
88: 
89: <div class="left-col">
90:   $website.include("scs-tabs?tmpl=j-tabs-template&id=scs-tabs")
91: </div>
92: 
93: <div class="right-col">
94: 
95:   <div class="clearfix">
96:     <div id="past-record">
97:       <h3 class="pr-hdr box-title"><span>Past Records</span></h3>
98:       <div class="container">$website.include("season-nav?tmpl=season-nav-template")</div>
99:     </div>
100:     <div id="rcol-ad">$website.include("adCode")</div>
101:   </div>
102:   
103:   <div id="team-info">
104:     <h3 class="tqf-hdr box-title"><span>Team Quick Facts</span></h3>
105:     $website.includeAgain("info?tmpl=team-info-template")
106:   </div>
107: 
108:   <h3 class="nr-hdr box-title"><span>News Releases</span></h3>
109:   <div id="news">$website.include("news?tmpl=more-news-template")</div>
110:   
111:   
112:   
113: 
114:   </div>
115: 
116: </div>
117: 
118: #end ## mobile
119: 
120: $wiki
121: 
122: #end ## NEW SITE